package main

import (
	"fmt"
)

//go中基本类型转换
func main() {
	var i int32 = 2000
	var j float32 = float32(i)

	var n int8 = int8(i)

	var m int64 = int64(i)
	fmt.Println(j)
	fmt.Println(n)
	fmt.Println(m)

}
